/**
 * 
 */
package com.java.test.audit.service;

import com.java.test.audit.dto.DepositExamineInfo;
import com.java.test.audit.dto.DrawingExamineInfo;
import com.java.test.audit.dto.RemitExamineInfo;
import com.java.test.util.PageInfo;

/**
 * @author 审核管理
 *
 */
public interface ExamineManageService {

	// 存款审核 =================  分页 =======================

	/**
	 * 分页查询存款需要审核记录
	 * @param page
	 * @return
	 */
	public PageInfo<DepositExamineInfo> selectrunwaterInfoList(PageInfo<DepositExamineInfo> page);
	
	
	
	/**
	 * 根据id查询存款记录
	 * @param id
	 * @return
	 */
	public DepositExamineInfo selectDepositExamineInfoById(int id);
	
	
	/**
	 * 
	 * @param id 根据id更新审核状态
	 * @return
	 */
	public int updateDepositExamineInfoById(int[] ids,int type,String name,String content);
	
	
	
	// -- 提款记录====================
	
	
	/**
	 * 分页查询提现需要审核记录
	 * @param page
	 * @return
	 */
	public PageInfo<DrawingExamineInfo> selectdrawingInfoList(PageInfo<DrawingExamineInfo> page);
	
	
	
	/**
	 * 提现审核
	 * @param ids
	 * @param type
	 * @return
	 */
	public int updateExamineInfo(int[] ids, int type,String reviewer,String content);
	
	
	
	
	// 待汇款
	
	/**
	 * 分页查询提现需要审核记录
	 * @param page
	 * @return
	 */
	public PageInfo<RemitExamineInfo> selectremitInfoList(PageInfo<RemitExamineInfo> page);
	
	
	
	/**
	 * 更新remit 
	 * @param id
	 * @return
	 */
	public int updateremitExaminInfo(int id,String name);



	/**
	 * @param cards 根据银行卡号查询用户数量
	 * @return
	 */
	public int selectbankuserCount(String cards);


	/**
	 * 保存存款审核
	 * @param info
	 * @author lijie1
	 * @date 2020/7/22 0022 17:30
	 * @return int
	 */
	int saveDeposit(DepositExamineInfo info);

	/**
	 * 保存提款审核
	 * @param info
	 * @author lijie1
	 * @date 2020/7/22 0022 17:30
	 * @return int
	 */
	int saveDrawing(DrawingExamineInfo info);



	/**
	 * @param gameAccount
	 * @return
	 */
	String getGameUniqueNumber(String gameAccount);

	/**
	 * 查询优惠比例
	 * @param channelId
	 * @param payClass
	 * @param toCardId
	 * @author 
	 * @date 2020/8/6 0006 10:01 
	 * @return java.lang.String
	 */
	String selectPayManageSKAccount(String channelId,String payClass,String toCardId);



	/**
	 * @param infos
	 * @return
	 */
	public DrawingExamineInfo selectdrawingInfoByid(DrawingExamineInfo infos);
	

	
	
	/**
	 * 计算处理提款打码量
	 */
	public void dealCodeSizemethod();
	
	
	
	
}
